package java_DesignPattern.CreatorPattern.FactoryPattern.AbstractFactory;

public class Test {

    public static void main(String[] args) {

        CoffeeShop coffeeShop = new CoffeeShop();
        // 咖啡商店设置工厂
        coffeeShop.setTianPianFactory(new Ysfw());

        // 咖啡商店订单
        coffeeShop.order();
    }
}
